package com.s666.demo.dao.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.Version;
import lombok.Data;

import java.io.Serializable;

/**
 * @author lijin
 */
@Data
@TableName("tag_plus")
public class TagPlus extends Model<TagPlus> {
    private static final long serialVersionUID = 11L;
    private Integer id;
    private String name;
    private Integer type;
    @Version
    private Integer version;
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}